package com.caih.dios.shop.bff.biz.modules.order.order.entity.dos;

import com.caih.dios.shop.bff.biz.common.utils.BeanUtil;
import com.caih.dios.shop.bff.biz.modules.order.cart.entity.dto.TradeDTO;
import com.caih.dios.shop.bff.biz.modules.order.cart.entity.enums.DeliveryMethodEnum;
import com.caih.dios.shop.bff.biz.modules.order.order.entity.enums.PayStatusEnum;
import com.caih.dios.shop.bff.biz.modules.order.order.entity.enums.PaymentModeEnum;
import com.caih.dios.shop.bff.biz.mybatis.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* ${classInfo.classComment}
*
* @author ${authorName}
* @since ${.now?string('yyyy-MM-dd HH:mm aaa')}
*/
@Data
@TableName("${classInfo.tableName}")
@ApiModel(value = "${classInfo.classComment}")
@NoArgsConstructor
public class ${classInfo.className} extends BaseEntity {

    private static final long serialVersionUID = 随机数;

    @ApiModelProperty(value = "买家id")
    private String memberId;

    public ${classInfo.className}() {}



}

其他
/**
* @see PayStatusEnum
*/

@NotEmpty(message = "手机号码不能为空")
@NotNull(message = "关联的分类不能为空")
@ApiModelProperty(value = "会员地址")
@Min(value = 0, message = "层级最小为0")
@Max(value = 2, message = "层级最大为2")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@Length(min = 1, max = 200, message = "结算银行开户行名称长度为1-200位")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(value = "category_id")
@Excel(name = "资金账号")
@EqualsAndHashCode(callSuper = true) 将父类属性值也进行比较
@ToString(callSuper = true) 打印时也打印出父类属性值

@NoArgsConstructor
@AllArgsConstructor

private static final long serialVersionUID = 1L;